From c4e2dfccdd1dc4775f248a0cc726a86299a15dea Mon Sep 17 00:00:00 2001 From: Matthew Daley Date: Fri, 8 Nov 2013 11:09:37 +0100 Subject: [PATCH] nestedsvm: remove pointless BUG_ON It's already handled just above. Signed-off-by: Matthew Daley --- xen/arch/x86/hvm/svm/nestedsvm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/hvm/svm/nestedsvm.c b/xen/arch/x86/hvm/svm/nestedsvm.c index e32c8724d2..705b653390 100644 --- a/xen/arch/x86/hvm/svm/nestedsvm.c +++ b/xen/arch/x86/hvm/svm/nestedsvm.c @@ -847,7 +847,6 @@ nsvm_vmcb_guest_intercepts_msr(unsigned long *msr_bitmap, /* MSR not in the permission map: Let the guest handle it. */ return NESTEDHVM_VMEXIT_INJECT; - BUG_ON(msr_bit == NULL); msr &= 0x1fff; if (write) -- 2.30.2